//
//  XMUserManager.h
//  XMJJ_zml
//
//  Created by apple on 2025/5/9.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface XMUserManager : NSObject

+ (instancetype)shareInstance;

- (void)saveUserModel:(XMUserModel *)userModel;
- (XMUserModel *)getUser;
- (void)removeUser;

//- (NSString *)getToken;

- (void)saveToken:(NSString *)token;

//- (void)removeToken;

//- (void)getUserInfoSuccess:(void (^)(id responseObject))successBlock
//                   failure:(void (^)(NSError *error))failureBlock;

//- (void)getCartGoodsCountSuccess:(void (^)(id responseObject))successBlock
//                   failure:(void (^)(NSError *error))failureBlock;

@end

NS_ASSUME_NONNULL_END
